import service from "@/api/request"
import type { AxiosPageResponse } from '@/model/model3000'

export const useCollegeListApi = () => {
    return service.get("/college/list");
};

export const useCollegePlantListApi = (data: any) => {
    return service.post<any, AxiosPageResponse, any>("/college/plant/page", data);
};

export const useCollegePlantInfoApi = (data: any) => {
    return service.get("/college/plant/info/" + data);
};

export const useCollegePlantSaveApi = (data: any) => {
    return service.post("/college/plant/save", data);
};